package pojo;

import java.util.Date;

public class User {
	
	private Integer id;
	private String uname;
	private double sal;
	private Date birth;
	private boolean sex;
	private String avatar;
	
	public User() {
	}
	
	





	public User(Integer id, String uname, double sal, Date birth, boolean sex) {
		super();
		this.id = id;
		this.uname = uname;
		this.sal = sal;
		this.birth = birth;
		this.sex = sex;
	}







	public User(Integer id, String uname, double sal, Date birth, boolean sex,
			String avatar) {
		super();
		this.id = id;
		this.uname = uname;
		this.sal = sal;
		this.birth = birth;
		this.sex = sex;
		this.avatar = avatar;
	}







	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getUname() {
		return uname;
	}
	
	public void setUname(String uname) {
		this.uname = uname;
	}


	public double getSal() {
		return sal;
	}


	public void setSal(double sal) {
		this.sal = sal;
	}


	public Date getBirth() {
		return birth;
	}


	public void setBirth(Date birth) {
		this.birth = birth;
	}


	public boolean isSex() {
		return sex;
	}


	public void setSex(boolean sex) {
		this.sex = sex;
	}



	public String getAvatar() {
		return avatar;
	}



	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}



	
	

}
